package com.class05.config.test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class ComponentController {
    @Autowired
    private ComponentA componentA;
    @Autowired
    private ComponentB componentB;


    public void doSomething()
    {
        componentA.doSomething();
        componentB.doSomething();
    }
}
